package com.example.demo.domain.system.role;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;
import java.util.List;

@Data
@Document("sysRole")
public class SysRoleEntity {
    /*权限ID列表*/
    private List<String> permissionIdList;
    /*角色代码*/
    private String code;
    /* 角色名称*/
    private String name;
    /*系统角色代码，ROLE_角色代码*/
    private String sysCode;
    //上级代码
    private String upLevelCode;
    /*创建日期*/
    private Date createDateTime;
    /*更新日期*/
    private Date updateDateTime;
    //是否叶子结点
    private boolean isLeaf;
}
